POST: ../troubleTicket
| Field Name | Type | Mandatory | Description |
|---|
| name | String | Yes | Name of the ticket or short description |
| description | String | Yes | Ticket description |
| externalld | String | Yes | External system reference |
| requestedResolutionDate | datetime | Yes | The resolution date requested by the user |
| severity | String | Yes | Based on trouble ticket scenario severity is mapped |
| priority | String | yes | Based on trouble ticket scenario priority is mapped. |
| ticketType | String | Yes | Based on trouble ticket scenario tickettype number mapped. |
| note | Complex Type | Yes | Ticket Comments |
| relatedEntity | Complex Type | Yes | OAP Impacted Product Id/Name, circuit id/name |
| relatedParty | Complex Type | Yes | OAP Party id/Name |
| troubleTicketRelationship | Complex Type | yes | A list of trouble ticket relationships |
| status | Enum | yes | Possible values for the status of the trouble ticket. |
Response
| Code | Status |
|---|
| 201 | Created |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 405 | Method Not Allowed |
| 409 | Conflict |
| 500 | Internal Server Error |
{
"name": "string",
"description": "string",
"severity": "string",
"externalld": "string",
"ticketType": "string",
"priority": "string",
"note": [
{
"author": "string",
"text": "string"
}
],
"relatedEntity": [
{
"id": "string",
"name": "string",
"@referredType": "string"
}
],
"relatedParty": [
{
"id": "string",
"name": "string",
"@referredType": "string"
}
],
"troubleTicketRelationship": [
{
"id": "string",
"relationshipType": "string"
}
]
}
Create Trouble Ticket Example
{
"name": "Network Outage",
"description": "OAP identifies identified potential OAP Network Outage",
"severity": "1",
"status": "New1",
"ticketType": "100-101",
"relatedEntity": [
{
"id": "${Product_ID}",
"@referredType": "ProductID"
}
],
"relatedParty": [
{
"id": "${OAP_ID}",
"name": "${OAP_Name}",
"@referredType": "RelatedParty"
}
]
}